Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prod proxy support #993

Merged
merged 10 commits into from
Dec 17, 2024
Merged

Prod proxy support #993

merged 10 commits into from
Dec 17, 2024

Conversation

mmason2-godaddy
Copy link
Contributor

@mmason2-godaddy mmason2-godaddy commented Dec 17, 2024

Summary

Tuning to allow for the new gasket-plugin-https-proxy to be implemented correctly. Proxies we're never considered in the production use case so now we can allow for a proxy setup in non-local situations.

  • Force gasket-data to .js for app variations
  • Update generated file gasket imports to use @/gasket alias in TS scenarios
  • Tune TS app local scripts to correctly rebuild the dist folder (issue with Page Router Default Server where the dist directory changes doesn't cause a reload in next dev but it works in app router 🤷‍♂️ Ticket to be created).
  • Add concurrently for local script reloading
  • Tune local script for all server types

Changelog

  • Tuning to allow for the new gasket-plugin-https-proxy to be implemented correctly for prod use cases

Test Plan

Tests updated

@mmason2-godaddy mmason2-godaddy requested a review from a team as a code owner December 17, 2024 16:08
Copy link
Contributor

@agerard-godaddy agerard-godaddy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small nit then 👍

packages/gasket-plugin-nextjs/lib/create.js Outdated Show resolved Hide resolved
@mmason2-godaddy mmason2-godaddy merged commit 76a3e84 into next Dec 17, 2024
2 checks passed
@mmason2-godaddy mmason2-godaddy deleted the prod-proxies branch December 17, 2024 18:28
agerard-godaddy added a commit that referenced this pull request Dec 18, 2024
* Fix Gasket imports w/tsconfig alias

* Opt for gasket-data.js

* Tune local watcher for TS default server

* Add concurrently dep

* Tune Ts plugin tests

* tests and linter

* tune local script for custom server

* fix test

* Update packages/gasket-plugin-nextjs/lib/create.js

Co-authored-by: Andrew Gerard <[email protected]>

* fix test

---------

Co-authored-by: Andrew Gerard <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants